<meta charset="UTF-8">
<title>{:getSystem("web_name")}-{:getSystem("ADMIN_NAME")}</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" href="/static/admin/css/font.css">
<link rel="stylesheet" href="/static/admin/css/login.css">
<link rel="stylesheet" href="/static/admin/css/xadmin.css?v=1.1">
<link rel="stylesheet" href="/static/admin/css/theme5.css?v=1">
<script type="text/javascript" src="/static/admin/js/jquery.min.js"></script>
<script src="/static/admin/lib/layui/layui.js?v=1" charset="utf-8"></script>
<script type="text/javascript" src="/static/admin/js/xadmin.js"></script>
<!--[if lt IE 9]>
<script src="/static/admin/js/html5.min.js"></script>
<script src="/static/admin/js/respond.min.js"></script>
<![endif]-->

<script type="text/javascript" src="/static/ueditor/ueditor.config.js?v=1"></script>
<script type="text/javascript" src="/static/ueditor/ueditor.all.min.js"></script>

<style>
    .layui-form-item .layui-input-inline{
        width: 550px;
    }
    .layui-form-item .layui-input-inline.back{
        width: 100px;
    }
    .layui-card-body{
        overflow-x: auto;
        padding-bottom: 47px;
        -webkit-overflow-scrolling: touch;
    }
</style>

<script>
    //下拉框
    $(document).click(function (e) {
        $('.layui-nav-child').hide();
    })
    function dropdown(that){
        var oEvent = arguments.callee.caller.arguments[0] || event;
        oEvent.stopPropagation();
        var offset = $(that).offset();
        var top=offset.top-$(window).scrollTop();
        var index = $(that).parents('tr').data('index');
        $('.layui-nav-child').each(function (key) {
            if (key != index) {
                $(this).hide();
            }
        })
        if($(document).height() < top+$(that).next('ul').height()){
            $(that).next('ul').css({
                'padding': 10,
                'top': - ($(that).parent('td').height() / 2 + $(that).height() + $(that).next('ul').height()/2),
                'min-width': 'inherit',
                'position': 'absolute'
            }).toggle();
        }else{
            $(that).next('ul').css({
                'padding': 10,
                'top':$(that).parent('td').height() / 2 + $(that).height(),
                'min-width': 'inherit',
                'position': 'absolute'
            }).toggle();
        }
    }
</script>